package com.siashan.unipay4j.wx.model.transfer.newmodel;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 转账撤销状态枚举
 *
 * @author siashan
 *
 * @date 2025/3/18
 **/
public enum WxTransferCancelStateEnum implements IBaseEnum<String> {

    /**
     * 商户撤销请求受理成功，该笔转账正在撤销中
     */
    CANCELING("CANCELING","商户撤销请求受理成功，该笔转账正在撤销中"),
    /**
     * 转账撤销完成
     */
    CANCELLED("CANCELLED","转账撤销完成"),
    ;


    private String value;
    private String desp;

    WxTransferCancelStateEnum(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }


    public void setValue(String value) {
        this.value = value;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    /**
     * 获取枚举value值
     *
     * @return T
     */
    @Override
    public String getValue() {
        return this.value;
    }

    /**
     * 获取枚举desp值
     *
     * @return desp值
     */
    @Override
    public String getDesp() {
        return this.desp;
    }
}
